import {wx} from '../../../weixin2alipay/index.js';
import {Page,Component} from '../../../weixin2alipay/index.js';
Page({
    "onShareAppMessage"(){
      return {
        "title":'下拉刷新',
        "path":'packageAPI/pages/pull-down-refresh/pull-down-refresh'
};
    },
    "onPullDownRefresh"(){
      wx.showToast({
        "title":'loading...',
        "icon":'loading'
});
      console.log('onPullDownRefresh',new Date());
    },
    "stopPullDownRefresh"(){
      wx.stopPullDownRefresh({
        "complete"(res){
          wx.hideToast();
          console.log(res,new Date());
        }
});
    }
});

